package com.leyou.user.service;

import com.leyou.user.pojo.User;

/**
 * @version 1.0.0
 * @Author yong.Mr
 * @data 2019-8-9
 */
public interface UserService {

    Boolean checkUser(String data, Integer type);

    Boolean sendVerifyCode(String phone);

    Boolean register(User user, String code);

    User queryUser(String username, String password);
}
